<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" rel="stylesheet" href="css/personal.css"/>
    <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="js/personal.js"></script>

    <script type="text/javascript">
        $(document).ready(function () {

            $(document).on("click","[id=wb]",function (){
                var name=$("[name=uname]").val();
                var sex=$('.sex.sex.on').text().trim();
                var birthyear=$("[name=birth]").val();
                var address=$("[name=address]").val();
                var hkplace=$("[name=hkplace]").val();
                var location=$("[name=location]").val();
                var phone=$("[name=phone]").val();
                var email=$("[name=email]").val();

                var status=$("[name=status]").val();
                var experience=$('.typeJob.on').text().trim();
                var nature=$("[name=nature]").val();
                var salary=$("[name=salary]").val();
                var workplace=$("[name=workplace]").val();
                var jtype=$("[name=jtype]").val();

                var school=$("[name=school]").val();
                var xtime=$("[name=xtime]").val();
                var xueli=$("[name=xueli]").val();
                var xueli_type=$("[name=xueli_type]").val();
                var career_name=$("[name=career_name]").val();
                var career_type=$("[name=career_type]").val();

                $.get("/addall",{
                    "name":name,
                    "sex":sex,
                    "birthyear":birthyear,
                    "palce":address,
                    "huko":hkplace,
                    "location":location,
                    "phone":phone,
                    "email":email,

                    "status":status,
                    "experience":experience,
                    "nature":nature,
                    "salary":salary,
                    "workplace":workplace,
                    "jtype":jtype,

                    "school":school,
                    "xtime":xtime,
                    "xueli":xueli,
                    "xueli_type":xueli_type,
                    "career_name":career_name,
                    "career_type":career_type

                },function () {
                    alert("ok")
                });
            });


        });



    </script>

    <title>个人中心-我的简历</title>
</head>

<body>

<div class="header">
    <div class="headerMain">
        <div class="Notice">
        </div>
        <div class="Account">
            <div class="Left">
                <div class="Info">
                    <font id="uid" th:text="${uid}"></font>
                    <input type="button">
                    <div id="InfoPopup">
                        <ul>
                            <li><a href="index.html">退出</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="navTop">
    <div class="navTopmain">
        <div class="logo"><a href="index.html"><img src="images/logo_1.png"/><img src="images/logo_2.png"/></a></div>
    </div>
</div>
<div class="personalBody">
    <div id="base_div" class="perRightcon">
        <div class="JlBoxTit">
            <p class="tit1">基本资料/求职意向</p>
            <div class="tit2"></div>
            <p class="tit3">最高学历</p>
        </div>
        <div class="JlBoxCon">
            <h1><span>基本信息</span>
                <div></div>
            </h1>
            <div class="JlBoxLeft">
                <div class="jldiv">
                    <div class="nametxt"  ><span>*</span>姓 名：</div>
                    <div class="inputtxt">
                        <input name="uname" type="text" class="txt1"/>
                    </div>
                    <div class="clear"></div>
                </div>
                <div  class="jldiv">
                    <div class="nametxt"><span>*</span>性 别：</div>
                    <div id="sex" class="inputtxt">
                        <div class="sex on">男</div>
                        <div class="sex">女</div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>出生年月：</div>
                    <div class="inputtxt">
                        <input name="birth" type="date" class="txt8"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>现居住地：</div>
                    <div class="inputtxt">
                        <input name="address" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>户口所在地：</div>
                    <div class="inputtxt">
                        <input name="hkplace" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>我成长在：</div>
                    <div class="inputtxt">
                        <input name="location" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>手机号码：</div>
                    <div class="inputtxt">
                        <input name="phone" type="text" />
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>电子邮箱：</div>
                    <div class="inputtxt">
                        <input name="email" type="text" class="txt3"/>
                        <b>可用来登录</b>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear"></div>
        <div class="JlBoxCon">
            <h1><span>求职意向</span>
                <div></div>
            </h1>
            <div class="JlBoxLeft">
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>求职状态：</div>
                    <div class="inputtxt">
                       <select name="status" class="txtcon txt2">
                          <option value="请选择">请选择</option>
                          <option value="离职-随时到岗">离职-随时到岗</option>
                          <option value="在职-月内到岗">在职-月内到岗</option>
                          <option value="在职-考虑机会">在职-考虑机会</option>
                          <option value="在职-暂不考虑">在职-暂不考虑</option>
                       </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>相关工作经验：</div>
                    <div id="experience" class="inputtxt">
                        <div class="typeJob on">有</div>
                        <div class="typeJob">无</div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望工作性质：</div>
                    <div id="nature" class="inputtxt">
                        <select name="nature" class="txtcon txt2">
                            <option value="请选择">请选择</option>
                            <option value="全职">全职</option>
                            <option value="兼职">兼职</option>
                            <option value="实习">实习</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望月薪：</div>
                    <div class="inputtxt">
                        <select name="salary" class="txtcon txt2">
                            <option value="面议">面议</option>
                            <option value="30000以上">30000以上</option>
                            <option value="20000-30000">20000-30000</option>
                            <option value="10000-20000">10000-20000</option>
                            <option value="5000-10000">5000-10000</option>
                            <option value="5000以下">5000以下</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望工作地点：</div>
                    <div class="inputtxt">
                        <input name="workplace" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望职位类别：</div>
                    <div class="inputtxt">
                        <input name="jtype" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <button id="next_btn" class="nextBtn">进一步完善</button>
                </div>
            </div>
        </div>
    </div>
    <div id="education_div" class="perRightcon" hidden>
        <div class="JlBoxTit">
            <p class="tit1">基本资料/求职意向</p>
            <div class="tit2"></div>
            <p class="tit3 on">最高学历</p>
        </div>
        <div class="JlBoxCon">
            <h1><span>最高学历</span>
                <div></div>
            </h1>
            <div class="JlBoxLeft">
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>学校名称：</div>
                    <div class="inputtxt">
                        <input name="school" type="text" class="txt3"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>毕业时间：</div>
                    <div class="inputtxt">
                        <input id="graduation_time" name="xtime" type="date" class="txt8"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>学历：</div>
                    <div class="inputtxt">
                        <select name="xueli" class="txtcon txt2">
                            <option value="初中及一下">初中及一下</option>
                            <option value="中专/中技">中专/中技</option>
                            <option value="高中">高中</option>
                            <option value="大专">大专</option>
                            <option value="硕士">硕士</option>
                            <option value="本科">本科</option>
                            <option value="博士">博士</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>学历类型：</div>
                    <div class="inputtxt">
                        <select name="xueli_type" class="txtcon txt2">
                            <option value="普通高等教育（统招）">普通高等教育（统招）</option>
                            <option value="普通专升本（统招）">普通专升本（统招）</option>
                            <option value="成人高考">成人高考</option>
                            <option value="自考">自考</option>
                            <option value="电大">电大</option>
                            <option value="网络教育">网络教育</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>专业名称：</div>
                    <div class="inputtxt">
                        <input name="career_name" type="text" class="txt3"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>专业类别：</div>
                    <div class="inputtxt">
                        <select name="career_type" class="txtcon txt2">
                            <option value="哲学">哲学</option>
                            <option value="经济学">经济学</option>
                            <option value="法学">法学</option>
                            <option value="教育学">教育学</option>
                            <option value="文学">文学</option>
                            <option value="历史学">历史学</option>
                            <option value="理学">理学</option>
                            <option value="工学">工学</option>
                            <option value="农学">农学</option>
                            <option value="医学">医学</option>
                            <option value="军事学">军事学</option>
                            <option value="管理学">管理学</option>
                            <option value="艺术学">艺术学</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <button id="wb" class="saveBtn">填写完毕</button>
                    <button id="previous_btn" class="preBtn">上一步</button>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="clear"></div>
<div class="footer">
</div>
</body>
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
<script>
    $(function () {
        $("#next_btn").on("click", function () {
            $("#base_div").hide();
            $("#education_div").show();
        });
        $("#previous_btn").on("click", function () {
            $("#base_div").show();
            $("#education_div").hide();
        });
        
        
    });
</script>
</html>
